package com.mdxl.first.service;


import com.mdxl.first.Dao.IMongoDAO;
import com.mdxl.first.Dao.MongoDAOFactory;


public class BaseService {
	/**
	 * 读写
	 */
	protected IMongoDAO mongoDao = MongoDAOFactory.getMongoDAO();
	/**
	 * 只读
	 */
	protected IMongoDAO mongoReadDao = MongoDAOFactory.getMongoReadDAO();
	/**
	 * 只写
	 */
	protected IMongoDAO mongoWriteDao = MongoDAOFactory.getMongoWriteDAO();
}
